package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Category;
import com.itheima.pojo.Result;

import java.util.List;

public interface CategoryService extends IService<Category> {
    Result add(Category category);

    Result<List<Category>> getList();

    Result<Category> findById(Integer id);
}
